package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.CustomerReservationDto;
import com.zzyl.vo.CustomerReservationVo;

import java.time.LocalDateTime;
import java.util.List;

public interface CustomerReservationService {

    Integer queryDeclineReserNum();

    public List<CustomerReservationVo> queryRestCountOnEveryTime(Long time);

    void addReservation(CustomerReservationDto customerReservationDto);

    PageResponse<CustomerReservationVo> queryPage(Integer pageNum, Integer pageSize, Integer status);

    void cancelReservation(Long id);

    public void expireReservation(LocalDateTime now);

}
